//
//  MessageDetailViewController.h
//  cliqset
//
//  Created by David Hinson on 3/31/09.
//  Copyright 2009 Cliqset, Inc.. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HoverView.h"
#import "ReplyView.h"

@interface MessageDetailViewController : UIViewController <UIActionSheetDelegate> {	
	IBOutlet UITableView * profile;
	
	UIView *header;
	UIView *footer;
	
	UILabel *myName;
	UILabel *myStatus;
	UILabel *myStamp;
	
	IBOutlet HoverView *hoverView;
	
	int index;

	UIButton *deleteMessageBtn;
	IBOutlet ReplyView *replyView;

	IBOutlet UILabel * recipientField;
	IBOutlet UILabel * subjectField;
}

@property (retain, nonatomic) UITableView * profile;
@property (retain, nonatomic) HoverView * hoverView;
@property (retain, nonatomic) UIView * footer;
@property (retain, nonatomic) UIView * header;
@property (retain, nonatomic) UILabel * myName;
@property (retain, nonatomic) UILabel * myStatus;
@property (retain, nonatomic) UILabel * myStamp;
@property int index;
@property (nonatomic, retain) UIButton *deleteMessageBtn;
@property (retain, nonatomic) ReplyView * replyView;
@property (retain, nonatomic) UILabel *recipientField;
@property (retain, nonatomic) UILabel *subjectField;

-(IBAction)doRefresh:(id)id;
-(void)loadFooter;
-(void)loadHeader;
-(void)reloadData;
-(void)showHoverView:(BOOL)show;
-(void)showReplyView:(BOOL)show;
-(void)setHeaderName:(NSString*)name;
-(void)setHeaderStatus:(NSString*)status timestamp:(NSString*)timestamp;
-(void)setHeaderStatus:(NSString*)status timeStamp:(NSDate*)timeStamp;

@end
